[INFO] cloning repository https://github.com/XMPPwocky/legend_of_link
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XMPPwocky/legend_of_link" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Flegend_of_link", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Flegend_of_link'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0a0105115b658a95a9e644140a65d56ee906ec1b
[INFO] checking XMPPwocky/legend_of_link against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Flegend_of_link" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/XMPPwocky/legend_of_link on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/XMPPwocky/legend_of_link
[INFO] finished tweaking git repo https://github.com/XMPPwocky/legend_of_link
[INFO] tweaked toml for git repo https://github.com/XMPPwocky/legend_of_link written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/XMPPwocky/legend_of_link already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/servo/html5ever`
[INFO] [stderr]     Updating git submodule `https://github.com/html5lib/html5lib-tests`
[INFO] [stderr]     Updating git repository `https://github.com/servo/rust-url`
[INFO] [stderr]     Updating git repository `https://github.com/servo/string-cache`
[INFO] [stderr]     Updating git repository `https://github.com/Kimundi/lazy-static.rs`
[INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/servo/html5ever`
[INFO] [stderr]     Updating git submodule `https://github.com/html5lib/html5lib-tests`
[INFO] [stderr]     Updating git submodule `https://github.com/Ygg01/xml5lib-tests`
[INFO] [stderr]     Updating git repository `https://github.com/servo/rust-url`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98cc5acbcdf7b131db209e1b88f951fe0b72cd8ca5ad235f8abdc37c515f8141
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "98cc5acbcdf7b131db209e1b88f951fe0b72cd8ca5ad235f8abdc37c515f8141", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98cc5acbcdf7b131db209e1b88f951fe0b72cd8ca5ad235f8abdc37c515f8141", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98cc5acbcdf7b131db209e1b88f951fe0b72cd8ca5ad235f8abdc37c515f8141", kill_on_drop: false }`
[INFO] [stdout] 98cc5acbcdf7b131db209e1b88f951fe0b72cd8ca5ad235f8abdc37c515f8141
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 981615592caabc1666820eb1189c9a9313c3019ced399df9ad0162327d102b21
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "981615592caabc1666820eb1189c9a9313c3019ced399df9ad0162327d102b21", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking mac v0.1.1
[INFO] [stderr]     Checking precomputed-hash v0.1.1
[INFO] [stderr]     Checking utf-8 v0.7.5
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking tinyvec v0.3.4
[INFO] [stderr]     Checking percent-encoding v2.1.0 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]     Checking log v0.4.11
[INFO] [stderr]     Checking futf v0.1.4
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking form_urlencoded v1.0.0 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]     Checking tendril v0.4.1
[INFO] [stderr]     Checking unicode-normalization v0.1.13
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]     Checking idna v0.2.0 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]     Checking url v2.1.1 (https://github.com/servo/rust-url#a46bec6e)
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.1
[INFO] [stderr]    Compiling markup5ever v0.10.0 (https://github.com/servo/html5ever#36ee935f)
[INFO] [stderr]     Checking string_cache v0.8.0
[INFO] [stderr]    Compiling html5ever v0.25.1 (https://github.com/servo/html5ever#36ee935f)
[INFO] [stderr]     Checking legend_of_link v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/main.rs:17:45
[INFO] [stdout]    |
[INFO] [stdout] 17 |     .and_then(|rooturl| Url::parse(&rooturl[]).ok());
[INFO] [stdout]    |                                             ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]    --> src/main.rs:152:44
[INFO] [stdout]     |
[INFO] [stdout] 152 |     .filter_map(|link| normalize_url(&link[], this).ok() );
[INFO] [stdout]     |                                            ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/main.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/fetch.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |   if &url.scheme[] == "file" {
[INFO] [stdout]    |                  ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/main.rs:17:45
[INFO] [stdout]    |
[INFO] [stdout] 17 |     .and_then(|rooturl| Url::parse(&rooturl[]).ok());
[INFO] [stdout]    |                                             ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]    --> src/main.rs:152:44
[INFO] [stdout]     |
[INFO] [stdout] 152 |     .filter_map(|link| normalize_url(&link[], this).ok() );
[INFO] [stdout]     |                                            ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/main.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/fetch.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |   if &url.scheme[] == "file" {
[INFO] [stdout]    |                  ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::error::FromError`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::error::FromError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `html5ever::driver::tokenize_to`, `html5ever::driver::one_input`
[INFO] [stdout]  --> src/extract.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | use html5ever::driver::{tokenize_to, one_input};
[INFO] [stdout]   |                         ^^^^^^^^^^^  ^^^^^^^^^ no `one_input` in `driver`
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         no `tokenize_to` in `driver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::IoError`, `std::io::IoErrorKind`
[INFO] [stdout]   --> src/fetch.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |   use std::io::{File, IoError, IoErrorKind};
[INFO] [stdout]    |                 ^^^^  ^^^^^^^  ^^^^^^^^^^^ no `IoErrorKind` in `io`
[INFO] [stdout]    |                 |     |
[INFO] [stdout]    |                 |     no `IoError` in `io`
[INFO] [stdout]    |                 no `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 25 |   use std::io::{File, Error, IoErrorKind};
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 25 |   use std::io::{File, IoError, ErrorKind};
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Show` in this scope
[INFO] [stdout]  --> src/fetch.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Show, PartialEq)]
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Show` in this scope
[INFO] [stdout]    --> src/main.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 | #[derive(PartialEq, Show)]
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Show` in this scope
[INFO] [stdout]    --> src/main.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 | #[derive(Show, PartialEq)]
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `UrlParser` in `url`
[INFO] [stdout]    --> src/main.rs:180:25
[INFO] [stdout]     |
[INFO] [stdout] 180 |   let mut parser = url::UrlParser::new();
[INFO] [stdout]     |                         ^^^^^^^^^ could not find `UrlParser` in `url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoError` in module `std::io`
[INFO] [stdout]   --> src/fetch.rs:7:22
[INFO] [stdout]    |
[INFO] [stdout] 7  |     IoError(::std::io::IoError)
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `FetchError::IoError`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 7  |   IoError(FetchError)
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 7  |   IoError(::std::io::Error)
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/fetch.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn url_to_path(url: &Url) -> Result<Path, ()> {
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/fetch.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn fetch_path(path: Path) -> Result<String, FetchError> {
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |   let root = os::args().get(1)
[INFO] [stdout]    |                  ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 6  | use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os`
[INFO] [stdout]   --> src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     os::set_exit_status(0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os`
[INFO] [stdout]   --> src/main.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     os::set_exit_status(1);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fetch.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |   let path = try!(url_to_path(url).map_err(|_| FetchError::MalformedUrl));
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:146:18
[INFO] [stdout]     |
[INFO] [stdout] 146 |   let contents = try!(fetch::fetch_url(this));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:183:21
[INFO] [stdout]     |
[INFO] [stdout] 183 |   let mut abs_url = try!(parser.parse(url).map_err(|_| ()));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::default::Default`
[INFO] [stdout]   --> src/extract.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 |   use std::default::Default;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `legend_of_link`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved import `std::error::FromError`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::error::FromError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `html5ever::driver::tokenize_to`, `html5ever::driver::one_input`
[INFO] [stdout]  --> src/extract.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | use html5ever::driver::{tokenize_to, one_input};
[INFO] [stdout]   |                         ^^^^^^^^^^^  ^^^^^^^^^ no `one_input` in `driver`
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         no `tokenize_to` in `driver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::IoError`, `std::io::IoErrorKind`
[INFO] [stdout]   --> src/fetch.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |   use std::io::{File, IoError, IoErrorKind};
[INFO] [stdout]    |                 ^^^^  ^^^^^^^  ^^^^^^^^^^^ no `IoErrorKind` in `io`
[INFO] [stdout]    |                 |     |
[INFO] [stdout]    |                 |     no `IoError` in `io`
[INFO] [stdout]    |                 no `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 25 |   use std::io::{File, Error, IoErrorKind};
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 25 |   use std::io::{File, IoError, ErrorKind};
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Show` in this scope
[INFO] [stdout]  --> src/fetch.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Show, PartialEq)]
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Show` in this scope
[INFO] [stdout]    --> src/main.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 | #[derive(PartialEq, Show)]
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Show` in this scope
[INFO] [stdout]    --> src/main.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 | #[derive(Show, PartialEq)]
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `UrlParser` in `url`
[INFO] [stdout]    --> src/main.rs:180:25
[INFO] [stdout]     |
[INFO] [stdout] 180 |   let mut parser = url::UrlParser::new();
[INFO] [stdout]     |                         ^^^^^^^^^ could not find `UrlParser` in `url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoError` in module `std::io`
[INFO] [stdout]   --> src/fetch.rs:7:22
[INFO] [stdout]    |
[INFO] [stdout] 7  |     IoError(::std::io::IoError)
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `FetchError::IoError`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 7  |   IoError(FetchError)
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 7  |   IoError(::std::io::Error)
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/fetch.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn url_to_path(url: &Url) -> Result<Path, ()> {
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/fetch.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn fetch_path(path: Path) -> Result<String, FetchError> {
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |   let root = os::args().get(1)
[INFO] [stdout]    |                  ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 6  | use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os`
[INFO] [stdout]   --> src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     os::set_exit_status(0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `os`
[INFO] [stdout]   --> src/main.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     os::set_exit_status(1);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fetch.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |   let path = try!(url_to_path(url).map_err(|_| FetchError::MalformedUrl));
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:146:18
[INFO] [stdout]     |
[INFO] [stdout] 146 |   let contents = try!(fetch::fetch_url(this));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:183:21
[INFO] [stdout]     |
[INFO] [stdout] 183 |   let mut abs_url = try!(parser.parse(url).map_err(|_| ()));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "981615592caabc1666820eb1189c9a9313c3019ced399df9ad0162327d102b21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "981615592caabc1666820eb1189c9a9313c3019ced399df9ad0162327d102b21", kill_on_drop: false }`
[INFO] [stdout] 981615592caabc1666820eb1189c9a9313c3019ced399df9ad0162327d102b21
